import Vue from 'vue'
import App from './App.vue'
import './registerServiceWorker'
import router from './router'
import store from './store'
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import Antd from 'ant-design-vue';
import 'ant-design-vue/dist/antd.less';
import * as echarts from 'echarts';
import Driver from 'driver.js'
import 'driver.js/dist/driver.min.css'

import "./iconfont/iconfont.css"


Vue.prototype.$echarts = echarts
Vue.config.productionTip = false
import "nprogress/nprogress.css"
import i18n from './i18n'
Vue.use(ElementUI);
Vue.use(Antd);


Vue.prototype.$driver = new Driver({
  allowClose: false, //禁止点击外部关闭
  doneBtnText: '完成', // 完成按钮标题
  closeBtnText: '关闭', // 关闭按钮标题
  stageBackground: '#fff', // 引导对话的背景色
  nextBtnText: '下一步', // 下一步按钮标题
  prevBtnText: '上一步', // 上一步按钮标题
})


new Vue({
  router,
  store,
  i18n: i18n,
  render: h => h(App)
}).$mount('#app')
